import {autoAddDictionary} from '~/plugins/Tools/autoStore';
const dictionary = { bczt: [],
  cdzt: [],
  fyzt: [],
  jhzt: [],
  sfyx: [],
  shzt: [],
  yxj: [],
  fymxzt: [],
  jhfs: [],
  zxzt: [] };

export const state = () => ({
  ...autoAddDictionary('state', dictionary),
});

/**
 * GROUP/SET
 *
 */

export const getters = autoAddDictionary('getters', dictionary);

export const mutations = {
  SET: function (state, payload) {
    state.app = payload;
  },
  ...autoAddDictionary('mutations', dictionary),
};
